package com.jt.service.impl;

import com.jt.mapper.ItemDescMapper;
import com.jt.pojo.ItemDesc;
import com.jt.service.ItemDescService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ItemDescServiceImpl implements ItemDescService {
    @Autowired
    private ItemDescMapper itemDescMapper;

    // 查询商品描述信息，进行数据回显
    @Override
    public ItemDesc findItemDescById(Long itemId) {
        return itemDescMapper.selectById(itemId);

    }
}
